#include "entity.hpp"

namespace sdl_engine::component:ecs {

void Entity::SetComponent(Unique<Component> comp) {
    components_[comp->GetType()] = std::move(comp);
}

}
